<?php

namespace app\validate;

use core\validate\ValidateBase;

class MsgTemplate extends ValidateBase
{
    protected $rule =   [
        'hookident' => 'require',
        'title'     => 'require',
        'content'   => 'require',
        'channel'   => 'require'
    ];

    protected $message  =   [
        'hookident.require' => '钩子标识必填',
        'title.require'     => '标题必填',
        'content.require'   => '内容必填',
        'channel.require'   => '消息通道必填'

    ];
}
